'''
Created on Apr 26, 2012

@author: jesus
'''

class Subscription(object):

    def __init__(self, email="default", name="default", amount="0", fromCommunity="default", cid="default"):
        self.email = email
        self.name = name
        self.amount = amount
        self.fromCommunity = fromCommunity
        self.charityCommunityId = cid

    def setEmail(self, email):
        self.email = email
        
    def getEmail(self):
        return self.email
    
    def setName(self, name):
        self.name = name
        
    def getName(self):
        return self.name    

    def setAmount(self, amount):
        self.amount = amount
        
    def getAmount(self):
        return self.amount    

    def setCommunityID(self, cid):
        self.charityCommunityID = cid
        
    def getCommunityID(self):
        return self.charityCommunityID    

    def setCommunity(self, community):
        self.fromCommunity = community
        
    def getCommunity(self):
        return self.charityCommunityID    